package com.tfswx.jcyw.print.bean;

import lombok.Getter;

import javax.print.PrintService;

/**
 * @author 张述江
 * @date 2023-11-01
 */
@Getter
public class PrinterItem {
    private final PrintService printService;

    public PrinterItem(PrintService printService) {
        this.printService = printService;
    }

    @Override
    public String toString() {
        return printService.getName();
    }
}
